﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="AddNews.aspx.cs" Inherits="NewsManager_AddNews" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .branchtop
        {
            margin: 10px 50px;
            text-align: left;
            font-size: 12px;
        }
        .lbBranch
        {
            font-size: 14px;
            font-weight: bold;
            background-image: url('../imges/daohangbeijing1.jpg');
            background-repeat: no-repeat;
            text-align: center;
            margin: 0;
            color: White;
            padding-top: 7px;
            height: 22px;
            width: 110px;
        }
        .btnBranch
        {
            margin-top:10px;
            width: 60px;
            height: 30px;
            background-color: #ccffff;
            border: 1px solid #000099;
            color: #000099;
        }
        hr
        {
            height: 1px;
            margin-left: 45px;
            color: Blue;
            width: 804px;
        }
        .txt
        {
            border: 1px solid #6699FF;
            color: Blue;
        }
        
        .tab { margin-left:60px; margin-bottom:15px;}
        .tab table tr td{ text-align:left; width:120px; line-height:25px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px; font-size: 14px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            新闻发布</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div style="margin-top: 5px; margin-left: 100px; margin-right: 30px; border: 1px solid #ccc;">
            <div class="tab">
                <table>
                    <tr>
                        <td>
                            <b>新闻标题：</b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtTitle" CssClass="txt" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>新闻类型：</b>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlNewsType" runat="server" Width="90px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>是否置顶</b>
                        </td>
                        <td>
                            <asp:RadioButton ID="rbTopYes" runat="server" GroupName="top" Text="是" /><asp:RadioButton ID="rbTopNo"
                                runat="server" Text="否" GroupName="top" />
                        </td>
                    </tr>
                    <tr>
                        <td >
                            <b>是否推荐：</b>
                        </td>
                        <td>
                            <asp:RadioButton ID="rbYes" runat="server" GroupName="com" Text="是" /><asp:RadioButton ID="rbNo"
                                runat="server" Text="否" GroupName="com" />
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <b>新闻内容</b>
                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="400px">
                </FCKeditorV2:FCKeditor>
            </div>
            <div>
                <asp:Button ID="btnSubmit" CssClass="btnBranch" runat="server" Text="提交" 
                    onclick="btnSubmit_Click" /></div>
        </div>
    </div>
</asp:Content>
